package com.ruoyi.business.service;

import com.ruoyi.business.domain.SysUserLoginDriver;
import com.ruoyi.business.domain.bo.SysUserLoginDriverBo;
import com.ruoyi.business.domain.bo.admin.AdminSysUserLoginCompanyBo;
import com.ruoyi.business.domain.bo.admin.AdminSysUserLoginDriverBo;
import com.ruoyi.business.domain.vo.SysUserLoginDriverVo;
import com.ruoyi.business.domain.vo.admin.AdminSysUserLoginDriverVo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

public interface ISysUserLoginDriverService {
    Boolean insert(SysUserLoginDriver sysUserLoginDriver);


    /**
     * 查询司机信息
     */
    SysUserLoginDriverVo queryById(Long driverId);

    /**
     * 查询司机信息列表
     */
    TableDataInfo<SysUserLoginDriverVo> queryPageList(SysUserLoginDriverBo bo, PageQuery pageQuery);

    /**
     * 查询司机信息列表
     */
    List<SysUserLoginDriverVo> queryList(SysUserLoginDriverBo bo);

    /**
     * 新增司机信息
     */
    Boolean insertByBo(SysUserLoginDriverBo bo);

    /**
     * 修改司机信息
     */
    Boolean updateByBo(SysUserLoginDriverBo bo);

    /**
     * 校验并批量删除司机信息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);


    /**
     * 校验重复信息
     */
    String checkRepeatInfo(AdminSysUserLoginDriverBo bo);


    /**
     * 查询司机信息
     */
    AdminSysUserLoginDriverVo queryAdminById(Long driverId);

    /**
     * 新增司机信息
     */
    Boolean insertByAdminBo(AdminSysUserLoginDriverBo bo);

    /**
     * 修改司机信息
     */
    Boolean updateByAdminBo(AdminSysUserLoginDriverBo bo);

}
